package com.yicong.ants.bean.coin;

/**
 * @author cchao
 * @version 2019-05-24.
 */
public class LastTrans {
    String id;
    String mobile;
    String id_card_name;

    public LastTrans() {
    }

    public String getId() {
        return this.id;
    }

    public String getMobile() {
        return this.mobile;
    }

    public String getId_card_name() {
        return this.id_card_name;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public void setId_card_name(String id_card_name) {
        this.id_card_name = id_card_name;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof LastTrans)) return false;
        final LastTrans other = (LastTrans) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        if (this$id == null ? other$id != null : !this$id.equals(other$id)) return false;
        final Object this$mobile = this.getMobile();
        final Object other$mobile = other.getMobile();
        if (this$mobile == null ? other$mobile != null : !this$mobile.equals(other$mobile))
            return false;
        final Object this$id_card_name = this.getId_card_name();
        final Object other$id_card_name = other.getId_card_name();
        if (this$id_card_name == null ? other$id_card_name != null : !this$id_card_name.equals(other$id_card_name))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LastTrans;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * PRIME + ($id == null ? 43 : $id.hashCode());
        final Object $mobile = this.getMobile();
        result = result * PRIME + ($mobile == null ? 43 : $mobile.hashCode());
        final Object $id_card_name = this.getId_card_name();
        result = result * PRIME + ($id_card_name == null ? 43 : $id_card_name.hashCode());
        return result;
    }

    public String toString() {
        return "LastTrans(id=" + this.getId() + ", mobile=" + this.getMobile() + ", id_card_name=" + this.getId_card_name() + ")";
    }
}
